﻿(function () {
    $(window).resize(function () {
        $('#__rootContainer').css('max-height', window.innerHeight - 95);
        $('#__modalContainer').css('max-height', 'auto');
    });

    $(window).resize();
})();